﻿using System.Runtime.Serialization;
using System;

namespace NIGeoCoding
{
  [Serializable]
  [DataContract]
  public class AddressDetails
  {
    public enum GoogleAccuracy
    {
      UnknownLocation = 0,
      CountryLevel = 1,
      RegionLevel = 2,
      SubRegionLevel = 3,
      TownLevel = 4,
      PostalCodeLevel = 5,
      StreetLevel = 6,
      IntersectionLevel = 7,
      AddressLevel = 8,
      PremiseLevel = 9
    }

    [DataMember]
    public Country Country { get; set; }
    [DataMember]
    public GoogleAccuracy Accuracy { get; set; }
  }
}
